﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Example01_Sharp
{
    class Rectangle
    {
            int x;
            int y;
            public void setValues(int a, int b)
            {
                x = a;
                y = b;
            }
         
            public int area()
            {
                return (x*y);
            }
        
    }
}
